package com.dhcy.mqtt.result.ht;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
public class EquipmentResult {

    @ApiModelProperty(value = "设备id", dataType = "String ", example = "")
    private int id;
//    @ApiModelProperty(value = "设备名称", dataType = "String ", example = "")
//    private String name;
//    @ApiModelProperty(value = "设备编码", dataType = "String ", example = "")
//    private String code;
    @ApiModelProperty(value = "设备编号", dataType = "String ", example = "")
    private String number;
//    @ApiModelProperty(value = "设备是否在线", dataType = "String ", example = "")
//    private String online;

    private String handle;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间", dataType = "Date ", example = "")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间", dataType = "Date ", example = "")
    private Date updateTime;


}
